/*
 * @Author: 高瑞寒 15932717091@163.com
 * @Date: 2022-01-16 21:08:31
 * @LastEditTime: 2022-04-07 20:59:22
 * @LastEditors: 高瑞寒 15932717091@163.com
 * @Description:
 */
/**
 *判断是否为外部资源
 * @param {*} path
 */
export function isExternal(path) {
  return /^(https?:|mailto:|tel:)/.test(path)
}
